package com.jic.market.service;

import com.jic.market.entity.PromotionRuleEntity;
import com.jic.market.request.PromotionRuleRequest;
import com.jic.market.response.PromotionRuleResponse;

import java.util.List;

/**
 * @author guohuayong
 * @date: 2020年02月20日
 */
public interface PromotionRuleService {
    List<PromotionRuleResponse> findAll(PromotionRuleRequest.PromotionRuleListRequest listRequest);

    Integer saveBatch(PromotionRuleRequest request);

    List<PromotionRuleResponse> save(PromotionRuleRequest.PromotionRuleListRequest request);

    List<PromotionRuleResponse>  delete(PromotionRuleRequest.PromotionRuleListRequest request);

    Integer update(PromotionRuleRequest.PromotionRuleListRequest request);
}
